package com.clwl.supervise.superviseapp.entity.customer;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
    * 标注表
    */
@Data
@TableName(value = "TS_TAGGING")
public class TsTagging implements Serializable {
    @TableId(value = "ID", type = IdType.AUTO)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 名称
     */
    @TableField(value = "NAME")
    private String name;

    /**
     * 检索方式：1-标注，2-关键字
     */
    @TableField(value = "SEARCH_TYPE")
    private String searchType;

    /**
     * 返回数量
     */
    @TableField(value = "SEARCH_COUNT")
    private Long searchCount;

    /**
     * 备注
     */
    @TableField(value = "REMARK")
    private String remark;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME")
    private Date createTime;

    private static final long serialVersionUID = 1L;
}
